package com.spzx.product.vo;

import com.alibaba.fastjson.JSONArray;
import com.spzx.product.api.vo.SkuPriceVo;
import com.spzx.product.domain.ProductSku;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * @author LOGIN
 * @title ItemVo
 * @create 2025/7/24 14:25
 * @description
 */
@Schema(description = "商品详情")
@Data
public class ItemVo {
    @Schema(description = "商品sku信息")
    private ProductSku productSku;
    @Schema(description = "最新价格信息")
    private SkuPriceVo skuPrice;
    @Schema(description = "商品库存信息")
    private SkuStockVo skuStock;
    @Schema(description = "商品轮播图列表")
    private String[] sliderUrlList;
    @Schema(description = "商品规格信息")
    private JSONArray specValueList;
    @Schema(description = "商品详情图片列表")
    private String[] detailsImageUrlList;
    @Schema(description = "商品规格对应商品skuId信息")
    private Map<String,Long> skuSpecValueMap;

}
